package twoD.IsoPfem.EmbeddedCrackModel;

public class ConstantTractionSeparationLaw implements ITractionSeparationLaw {

	private double ft_;

	public ConstantTractionSeparationLaw(double ft) {
		ft_ = ft;
	}

	@Override
	public double g(double en) {
		return ft_;
	}

	@Override
	public double dg(double en) {
		return 0;
	}

	@Override
	public double getTensileStrength() {
		return ft_;
	}

	@Override
	public double getEf() {
		return Double.POSITIVE_INFINITY;
	}

}
